package com.whminwei.edu.api.sso.pojo.bo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录信息
 * 包括账号、密码
 *
 * @author 张嘉琪
 * @since 2023-02-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PasswordBo {

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String account;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;
}
